package com.mlming.springboot.enums;

public enum PayStatusEnum {
    // 订单状态:0-已取消-10-未付款，20-已付款，40-已发货，50-交易成功，60-交易关闭
    CANCELED(0,"已取消"),
    NOT_PAY(10,"未付款"),
    PAYED(20,"已支付"),
    SENT(40,"已发货"),
    SUCCESS(50,"交易成功"),
    CLOSED(60,"交易关闭"),
    ;
    Integer code;
    String msg;

    PayStatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
